import React from 'react' export interface TagListProps { tags: string[] onRemove: (tag: string) => void } export const TagList: React.FC = ({ tags, onRemove }) => <> {tags.map(tag =>
  • {tag} { onRemove(tag) event.preventDefault() }}>×
  • )}